﻿#ifndef GAMESCENE_H
#define GAMESCENE_H
#include<QPainter>
#include <QWidget>
#include<QGraphicsView>
namespace Ui {
class GameScene;
}

class GameScene : public QWidget,public QGraphicsView
{
    Q_OBJECT

public:
    explicit GameScene(QWidget *parent = 0);
    ~GameScene();
    void paintEvent(QPaintEvent *event);
   void mouseMoveEvent(QMouseEvent *event);
private:
    Ui::GameScene *ui;

};

#endif // GAMESCENE_H
